﻿
using hcache;
using hentity;
using System;
using System.Collections.Generic;
namespace htaskCommon {
    [Serializable]
    public  class TaskCarrier:BaseTask {

       
        public override List<string> getLableData() {
            List<String> list = new List<string> ( );
            list.Add ( extra );
            list.Add ( "起点：" + src);
            list.Add ( "终点：" + des);
           
            return list;
        }
         public override void init(CoreTask complete ,CoreTaskParam param ,TaskDto taskDto) {
            taskNo = param.taskNo;
            code = complete.boxCode;
            completeId = complete.id;
            completeParamId = param.id;
            src = taskDto.src;
            des = taskDto.des;
            status = ( int ) CoreTaskParamStatus.待执行;
            ralyForbid = ralyForbid;
            waveNo = complete.waveNo;
            extra = taskDto.src + "-->" + taskDto.des;
        
    }
    }
}
